package org.numanint.code;

public class TableKeyClass {

	private String keyTableName;//SERVICE
	private String keyColumnName;//SERVICE_ID
	private String keyTableClassName;//Service
	private String keyColumnClassName;//ServiceId

	public TableKeyClass(String keyTableName, String keyColumnName, String keyTableClassName,String keyColumnClassName) {
		super();
		this.keyTableName = keyTableName;
		this.keyColumnName = keyColumnName;
		this.keyTableClassName = keyTableClassName;
		this.keyColumnClassName = keyColumnClassName;
	}
	
	public String getKeyColumnClassName() {
		return keyColumnClassName;
	}

	public void setKeyColumnClassName(String keyColumnClassName) {
		this.keyColumnClassName = keyColumnClassName;
	}
	
	public String getKeyTableName() {
		return keyTableName;
	}
	public void setKeyTableName(String keyTableName) {
		this.keyTableName = keyTableName;
	}
	public String getKeyColumnName() {
		return keyColumnName;
	}
	public void setKeyColumnName(String keyColumnName) {
		this.keyColumnName = keyColumnName;
	}
	public String getKeyTableClassName() {
		return ConventUtils.t2c(keyTableName);
	}
	public void setKeyTableClassName(String keyTableClassName) {
		this.keyTableClassName = keyTableClassName;
	}
	@Override
	public String toString() {
		return "TableKeyClass [keyTableName=" + keyTableName + ", keyColumnName=" + keyColumnName + ", keyTableClassName=" + keyTableClassName + "]";
	}

	

}
